<template>
	<view style="padding: 30rpx;">
		<view class="group-item" v-for="(item,index) in list" :key="index">
			<view class="group-right"> 
				<view class="group-item-title">{{item.remark}}</view>
				<view class="group-item-title1">{{item.create_time}}</view>
			</view>
			<view class="group-item-price">
				{{item.change_money}}
			</view>
		</view>
		<view style="margin-top: 300rpx;" v-if="list.length == 0">
			<u-empty  mode="list">
			</u-empty>
		</view>
	</view>
</template>

<script>
	export default {
		data(){
			return {
				list:[]
			}
		},
		onShow() {
			this.getFreezeLogs()
		},
		methods:{
			getFreezeLogs(){
				this.$api.post(global.apiUrls.getFreezeLogs,{
					type:3,
					is_delete:'all'
				}).then(res => {
					console.log(res.data.data.data)
					this.list = res.data.data.data
				})
			}
		}
	}
</script>

<style lang="scss" scoped>
	.group-item-title1{
		font-size: 13px;
		color: #000000;
	}
	.group-item-title{
		font-size: 15px;
		color: #000000;
		margin-bottom: 20rpx;
	}
	.group-item-price{
		font-size: 24px;
		color: #000000;
	}
	.group-item{
		display: flex;
		align-items: center;
		justify-content: space-between;
		padding: 30rpx;
		background-color: #ffffff;
		border-radius: 20rpx;
		margin-bottom: 30rpx;
	}
</style>